package com.esd.crm.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Project implements Serializable{
	
    /**
	 * 
	 */
	private static final long serialVersionUID = -2480139869553131230L;

	private String id;

    private String year;

    private String contractnum;

    private String projectname;

    private String projectchargehand;

    private String signingcompany;

    private String customername;

    private String customertype;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date signingstart;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date signingend;

    private String remarks;

    private Date createtime;

    private String photoPath;
    
    private Date updatetime;

    private String editperson;
    
    private String fileid;
    
    private String province;// 省

	private String city;// 市

	private String district;// 区
	
	private String freemaintenance;// 免维护
    
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date implementationdate;//项目实施日期
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date reminder;//提醒日期
    

	
	
    public Date getImplementationdate() {
		return implementationdate;
	}

	public void setImplementationdate(Date implementationdate) {
		this.implementationdate = implementationdate;
	}

	public Date getReminder() {
		return reminder;
	}

	public void setReminder(Date reminder) {
		this.reminder = reminder;
	}

	public String getFreemaintenance() {
		return freemaintenance;
	}

	public void setFreemaintenance(String freemaintenance) {
		this.freemaintenance = freemaintenance;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getFileid() {
		return fileid;
	}

	public void setFileid(String fileid) {
		this.fileid = fileid;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year == null ? null : year.trim();
    }

    public String getContractnum() {
        return contractnum;
    }

    public void setContractnum(String contractnum) {
        this.contractnum = contractnum == null ? null : contractnum.trim();
    }

    public String getProjectname() {
        return projectname;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname == null ? null : projectname.trim();
    }

    public String getProjectchargehand() {
        return projectchargehand;
    }

    public void setProjectchargehand(String projectchargehand) {
        this.projectchargehand = projectchargehand == null ? null : projectchargehand.trim();
    }

    public String getPhotoPath() {
		return photoPath;
	}

	public void setPhotoPath(String photoPath) {
		this.photoPath = photoPath == null ? null : photoPath.trim();
	}
	
    public String getSigningcompany() {
        return signingcompany;
    }

    public void setSigningcompany(String signingcompany) {
        this.signingcompany = signingcompany == null ? null : signingcompany.trim();
    }

    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername == null ? null : customername.trim();
    }


    public String getCustomertype() {
        return customertype;
    }

    public void setCustomertype(String customertype) {
        this.customertype = customertype == null ? null : customertype.trim();
    }

    public Date getSigningstart() {
        return signingstart;
    }

    public void setSigningstart(Date signingstart) {
        this.signingstart = signingstart;
    }

    public Date getSigningend() {
        return signingend;
    }

    public void setSigningend(Date signingend) {
        this.signingend = signingend;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getEditperson() {
        return editperson;
    }

    public void setEditperson(String editperson) {
        this.editperson = editperson == null ? null : editperson.trim();
    }

	@Override
	public String toString() {
		return "Project [id=" + id + ", year=" + year + ", contractnum=" + contractnum + ", projectname=" + projectname
				+ ", projectchargehand=" + projectchargehand + ", signingcompany=" + signingcompany + ", customername="
				+ customername + ", customertype=" + customertype + ", signingstart=" + signingstart + ", signingend="
				+ signingend + ", remarks=" + remarks + ", createtime=" + createtime + ", photoPath=" + photoPath
				+ ", updatetime=" + updatetime + ", editperson=" + editperson + ", fileid=" + fileid + ", province="
				+ province + ", city=" + city + ", district=" + district + ", freemaintenance=" + freemaintenance
				+ ", implementationdate=" + implementationdate + ", reminder=" + reminder + "]";
	}

	

	

	

	
}